import request from '@/utils/request'
//app版本升级
export function homeJobLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/Info/listTwo`,
		data,
		options: {
			load: false,
			noToken:true
		}
	})
}
//获取职位详情
export function jobDetail(data) {

	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/Info/queryByIdTwo`,
		data
	})
}
//获取公司详情接口
export function getCompanyInfo(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/Company/queryByIdInVo`,
		data

	})
}
//获取个人信息接口
export function getPersonInfo(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/OddUser/queryByIdInVo`,
		data

	})
}
//立即报名
export function rightNowBm(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/xfJjpOddjobRegistration/saveRegistration`,
		data,
		options: {
			load: false
		}
	})
}
//用户报名 验证是否签约接口
export function findMakerByCardNumber(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/settlement/xfJjpOddjobSettlement/findMakerByCardNumber`,
		data,
	})
}
//获取电话
export function getPhone(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjp/often/XfJjpSysUserLingGong/getByPhone`,
		data
	})
}
//通过企业id 查询企业在招职位
export function getCompanyLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/Company/queryByComIdDetailsList`,
		data,
		options: {
			load: false
		}
	})
}
//通过gerid 查询企业在招职位
export function getPerSonLis(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/OddUser/queryByOddUserIdDetailsList`,
		data,
		options: {
			load: false
		}
	})
}
//企业/个人评价免登录
export function commentTop(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/queryByList`,
		data,
		options: {
			load: false
		}
	})
}

//企业/个人评价
export function commentLisTab(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/queryEvaListByOddUserId`,
		data,
		options: {
			load: false
		}
	})
}

//首页地图职位查询
export function mapList(data) {
	return request({
		method: 'POST',
		url: `/xf-api/xf-linggong/jjpoddjob/licensefree/Info/mapList`,
		data,
		options: {
			load: false
		}
	})
}